scrolled window: Protect against nameless devices
authorMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2015 20:06:15 +0000 (16:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2015 20:06:15 +0000 (16:06 -0400)
commitdd3f4f29047dc87a412e1e4432d39d56bbd01e5d
tree5541eaf430ffc0990a3c7aea3de7ea7be3b0ba3f
parentc3686838eabc0a67550f17150caea2b1466c8b39
scrolled window: Protect against nameless devices

It seems that gdk_device_get_name() can return NULL.
We should not crash if that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=756625
gtk/gtkscrolledwindow.c